from backend.script import 钉钉

from backend.script import zhongninggouqi
import sys

scriptName=str(sys.argv[1])

scriptNameList={
    "znorder-biz-CD": zhongninggouqi,
    "CD-APIAutoTest": 钉钉,
}

runResult=scriptNameList[scriptName].runScript()
print(runResult)

f = open('runResult.sh', 'w+', encoding="utf-8")
f.write('echo 自动化测试:')
f.close()


# if scriptName=='znorder-biz-CD':
#     zhongninggouqi=zhongninggouqi.runScript()
#     print(zhongninggouqi)
# elif scriptName=='2':
#     print("执行别的")
#     # zhongninggouqi = zhongninggouqi.runScript()

